export const BEFORE_BOOKS = 'BEFORE_BOOKS';
export const SGbooks = () => ({type:BEFORE_BOOKS});

export const BOOKS = 'BOOKS';
export const booksList = books => ({
	type:BOOKS,
	books
});

export const SEARCH = 'SEARCH';
export const SGsearch = data => ({type:SEARCH,data});

export const UPDATE_PV = 'UPDATE_PV';
export const updatePv = data => {
	return {
		type:UPDATE_PV,
		data
	}
}

export const INCREASE = 'INCREASE';
export const SGincreasePv = data => {
	return {
		type:INCREASE,
		data
	}
}
